<div class="row">
    <div class="col-md-1"></div>
    <div class="col-md-10">
        <nav aria-label="Page navigation">
            <ul class="pagination">
                <!-- <li>
                    <a href="#" aria-label="Previous">
                  <span aria-hidden="true">&laquo;</span>
                </a>
                </li> -->
                <% for(var i=1; i<page+1; i++){ %>
                        <li><a href="author=<%= res[0].name %>&page=<%- i %>"><%- i %></a></li>
                <% } %>
                <!-- <li>
                    <a href="#" aria-label="Next">
                  <span aria-hidden="true">&raquo;</span>
                </a>
                </li> -->
            </ul>
        </nav>
    </div>
    <div class="col-md-1"></div>
</div>
<br>
<br>